package com.insideClass.AnonymityInsideClass;

import java.io.FileInputStream;
import java.io.ObjectInputStream;
import java.util.List;

/**
 * @author 13699
 */
public class ClassCasting {
    @SuppressWarnings("unchecked")
    public void f(String[] args)throws Exception{
        ObjectInputStream in=new ObjectInputStream(new FileInputStream(args[0]));
        List<Widget> lw2=List.class.cast(in.readObject());
    }
}
